package io.renren.modules.skate.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.util.Date;

/**
 * 新闻表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 3.0 2023-11-28
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class FNewsExcel {
    @ExcelProperty(value = "Long", index = 0)
    private Long id;
    @ExcelProperty(value = "分类id", index = 1)
    private Integer classifyId;
    @ExcelProperty(value = "标题、姓名", index = 2)
    private String title;
    @ExcelProperty(value = "内容", index = 3)
    private String content;
    @ExcelProperty(value = "发布时间", index = 4)
    private Date pubDate;
    @ExcelProperty(value = "创建时间", index = 5)
    private Date createDate;
    @ExcelProperty(value = "修改时间", index = 6)
    private Date updateDate;
    @ExcelProperty(value = "图片、头像", index = 7)
    private String img;
    @ExcelProperty(value = "副标题、教练简介", index = 8)
    private String subTitle;
    @ExcelProperty(value = "简练级别", index = 9)
    private String remark;
}